﻿using Baidu.Sound.DirectSound;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace Baidu.Sound.FastAsr
{
    class Program
    {
        static void Main(string[] args)
        {
            SoundRecord sr = new SoundRecord();
            sr.SetFileName(@"I:\2019-04-12 百度4月\1.pcm");
            sr.RecStart();
            Thread.Sleep(5000);

            sr.RecStop();
        }
    }
}
